package com.aikon.wht.guava;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.springframework.util.StringUtils;

/**
 * 0
 * @author haitao.wang
 *
 */
public class Maatcheer {

	public static void main(String[] args) {
		String s1 = "风雷左右交通34343";
		String s2 = "通交通通";
		Boolean mm = s1.contains(s2);
		Boolean xx = StringUtils.substringMatch(s1, 0, s2);
		// System.out.println(xx);
		
		Pattern pattern = Pattern.compile("t(rt|rer)n");
		Matcher matcher = pattern.matcher("trern");

		System.out.println(matcher.find());

	}
	
	public void xx(){
	}
}
